Sink {config.h,ConfigureChecks}.cmake into cmake directory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93318 91177308-0d34-0410-b5e6-96231b3b80d8 diff --git a/CMakeLists.txt b/CMakeLists.txt index a57d6a9..483b673 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -19,8 +19,9 @@ "${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there." ) -INCLUDE( ConfigureChecks.cmake ) -CONFIGURE_FILE( config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h ) +INCLUDE( ${CMAKE_SOURCE_DIR}/cmake/ConfigureChecks.cmake ) +CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/cmake/config.h.cmake + ${CMAKE_CURRENT_BINARY_DIR}/config.h ) INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} @@ -46,7 +47,7 @@ ELSE( BUILD_BLOCKS_RUNTIME ) MESSAGE(STATUS "No suitable atomic operation routines detected, skipping Blocks Runtime") ENDIF( BUILD_BLOCKS_RUNTIME ) - + ADD_SUBDIRECTORY( lib ) # Enable Test Suit: diff --git a/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake similarity index 100% rename from ConfigureChecks.cmake rename to cmake/ConfigureChecks.cmake
diff --git a/config.h.cmake b/cmake/config.h.cmake similarity index 100% rename from config.h.cmake rename to cmake/config.h.cmake